<?php
/**
 * 配置文件－－数据库配置文件
 * @package main
 * @subpackage configure
 * @author 张立冰 <roast@php.net>
 * @version 0.1 20071031
 * 
 * $Id: database.cfg.php 9 2011-02-23 06:56:47Z sbnnest@gmail.com $
 */

//Memcached分组相关配置信息
$cfg['memcache'] = array(
    array('host' => '172.18.61.216','port' => 10001),
    array('host' => '172.18.61.216','port' => 10002),    
    array('host' => '172.18.61.216','port' => 10003)     
);

//Memcached分组相关配置信息
$cfg['memcacheq'] = array(
    array('host' => '172.18.61.216','port' => 30001)    
);

//主数据库，默认连接该数据库
$cfg['db'] = array(
	'params'   => array('driver'=> 'mysql', 'host'=> '172.18.61.216', 'name'=> 'ggf_Common', 'user'=> 'ggf_read', 'password'=> '123456',),
	'options'  => array('persistent'=> false, 'tablePrefix' => '','charset'=>'utf8'),
	);	

//主数据库，默认连接该数据库
$cfg['db_w'] = array('driver'=> 'mysql', 'host'=> '172.18.61.216', 'name'=> 'ggf_Common', 'user'=> 'ggf','password'=> '123456');

// EventInfo表
$cfg['db_EventInfo_r'] = array('driver'=> 'mysql', 'host'=> '172.18.61.216', 'name'=> 'ggf_EventInfo', 'user'=> 'ggf_read','password'=> '123456');
$cfg['db_EventInfo_w'] = array('driver'=> 'mysql', 'host'=> '172.18.61.216', 'name'=> 'ggf_EventInfo', 'user'=> 'ggf','password'=> '123456');

// Manager表 有总表
$cfg['db_Manager_r'] = array('driver'=> 'mysql', 'host'=> '172.18.61.216', 'name'=> 'ggf_Manager', 'user'=> 'ggf_read','password'=> '123456');
$cfg['db_Manager_w'] = array('driver'=> 'mysql', 'host'=> '172.18.61.216', 'name'=> 'ggf_Manager', 'user'=> 'ggf','password'=> '123456');

// ManagerBuffer表
$cfg['db_ManagerBuffer_r'] = array('driver'=> 'mysql', 'host'=> '172.18.61.216', 'name'=> 'ggf_ManagerBuffer', 'user'=> 'ggf_read','password'=> '123456');
$cfg['db_ManagerBuffer_w'] = array('driver'=> 'mysql', 'host'=> '172.18.61.216', 'name'=> 'ggf_ManagerBuffer', 'user'=> 'ggf','password'=> '123456');

// ManagerItem表
$cfg['db_ManagerItem_r'] = array('driver'=> 'mysql', 'host'=> '172.18.61.216', 'name'=> 'ggf_ManagerItem', 'user'=> 'ggf_read','password'=> '123456');
$cfg['db_ManagerItem_w'] = array('driver'=> 'mysql', 'host'=> '172.18.61.216', 'name'=> 'ggf_ManagerItem', 'user'=> 'ggf','password'=> '123456');

// ManagerSkill表
$cfg['db_ManagerSkill_r'] = array('driver'=> 'mysql', 'host'=> '172.18.61.216', 'name'=> 'ggf_ManagerSkill', 'user'=> 'ggf_read','password'=> '123456');
$cfg['db_ManagerSkill_w'] = array('driver'=> 'mysql', 'host'=> '172.18.61.216', 'name'=> 'ggf_ManagerSkill', 'user'=> 'ggf','password'=> '123456');

// MyPlayer表
$cfg['db_MyPlayer_r'] = array('driver'=> 'mysql', 'host'=> '172.18.61.216', 'name'=> 'ggf_MyPlayer', 'user'=> 'ggf_read','password'=> '123456');
$cfg['db_MyPlayer_w'] = array('driver'=> 'mysql', 'host'=> '172.18.61.216', 'name'=> 'ggf_MyPlayer', 'user'=> 'ggf','password'=> '123456');

// MyPlayerCollection表
$cfg['db_MyPlayerCollection_r'] = array('driver'=> 'mysql', 'host'=> '172.18.61.216', 'name'=> 'ggf_MyPlayerCollection', 'user'=> 'ggf_read','password'=> '123456');
$cfg['db_MyPlayerCollection_w'] = array('driver'=> 'mysql', 'host'=> '172.18.61.216', 'name'=> 'ggf_MyPlayerCollection', 'user'=> 'ggf','password'=> '123456');

// MyPlayerSkill表
$cfg['db_MyPlayerSkill_r'] = array('driver'=> 'mysql', 'host'=> '172.18.61.216', 'name'=> 'ggf_MyPlayerSkill', 'user'=> 'ggf_read','password'=> '123456');
$cfg['db_MyPlayerSkill_w'] = array('driver'=> 'mysql', 'host'=> '172.18.61.216', 'name'=> 'ggf_MyPlayerSkill', 'user'=> 'ggf','password'=> '123456');

// Scout表
$cfg['db_Scout_r'] = array('driver'=> 'mysql', 'host'=> '172.18.61.216', 'name'=> 'ggf_Scout', 'user'=> 'ggf_read','password'=> '123456');
$cfg['db_Scout_w'] = array('driver'=> 'mysql', 'host'=> '172.18.61.216', 'name'=> 'ggf_Scout', 'user'=> 'ggf','password'=> '123456');

// ManagerTask表
$cfg['db_ManagerTask_r'] = array('driver'=> 'mysql', 'host'=> '172.18.61.216', 'name'=> 'ggf_ManagerTask', 'user'=> 'ggf_read','password'=> '123456');
$cfg['db_ManagerTask_w'] = array('driver'=> 'mysql', 'host'=> '172.18.61.216', 'name'=> 'ggf_ManagerTask', 'user'=> 'ggf','password'=> '123456');

//Admin表
$cfg['db_Admin_r'] = array('driver'=> 'mysql', 'host'=> '172.18.61.216', 'name'=> 'ggf_Admin', 'user'=> 'ggf_read','password'=> '123456');
$cfg['db_Admin_w'] = array('driver'=> 'mysql', 'host'=> '172.18.61.216', 'name'=> 'ggf_Admin', 'user'=> 'ggf','password'=> '123456');

?>